#ifndef _FLAT_OUTPUT_H
#define _FLAT_OUTPUT_H

#include <vector>
#include <string>
#include <tr1/memory>

namespace jsearch
{
	class output;
	class page_db;
	struct prio_page;

	class flat_output
		:public output
	{
		public:
			flat_output( std::tr1::shared_ptr<page_db>& db,
					     std::tr1::shared_ptr<std::vector<std::string> >& qs,
					     bool vbs = false);

			~flat_output(){};

			void put(std::vector<prio_page>& ppv);

		private:
			bool verbose_mode;
			std::tr1::shared_ptr<page_db> pdb;
			std::tr1::shared_ptr<std::vector<std::string> > querys;
	};

}
#endif
